<h1>编辑图书信息</h1>
<div style="float:right">
  <%= image_tag @book.book_cover.public_filename(:large) %>
</div>
<% form_for :book, :url => book_url(@book.id), :html => {:method => 'put', :multipart => true} do |f| -%>
  <%= render :partial => "form", :object => f %>
  <%= submit_tag "改好了，提交" %> 或 <%= link_to "返回", book_manage_url %>
<% end -%>